package ex;

class ex01 {
    public static void main(String[] args) {
        for(int i=0;i<=4;i++){
            for(int j=4;j>=i;j--){
                System.out.print(" ");
            }
            for(int b=0;b<=5;b++){
                System.out.print("*");
            }
            for (int c=0;c<2*i;c++){
                System.out.print(" ");
            }
            System.out.println("*");

        }
        for(int e=2;e<=18;e++) {
            System.out.print("*");
        }
        System.out.println();
        for (int d=0;d<=2;d++){
            System.out.println("*              *");
        }
        for(int e=2;e<=18;e++) {
            System.out.print("*");
        }
    }
}
